package fun.util.daohelper.expression;

import java.io.Serializable;

/**
 * Author: bin
 * Date: Jan 23, 2006
 * Time: 9:20:26 PM
 */
public class LessThan extends NameValueExpression<Serializable> {

    boolean andEqualTo = false;

    /**
     * only greaterThan; not inclusive of equal to
     *
     * @param fieldName
     * @param value
     */
    public LessThan(String fieldName, Serializable value) {
        this(fieldName, value, false );
    }

    public LessThan(String fieldName, Serializable value, boolean andEqualTo ) {
        super(fieldName, value);
        this.andEqualTo = andEqualTo;
    }


    public boolean isAndEqualTo() {
        return andEqualTo;
    }
}
